<?php
require_once("dompdf_config.inc.php");

define("DOMPDF_ENABLE_REMOTE", true); 

$html =
  '
<style>
.teste{
	background-image: url(www/images/dompdf_simple.png);
}
</style>
<table width="50%" alicn="center" cellspacing="2" cellpading="2" class="teste">
	<tr>
		<td align="center">a</td>
		<td align="center">b</td>
		<td align="center">c</td>
	</tr>  
</table>
<img align="left" src="http://www.debianpt.org/~elmig/pool/images/blog/raid-system-datenrettung.jpg" width="200px">
<p>Meu texto abaixo da imnagem com <a href="http://www.google.com.br">link</a></p>
<blockquote>
texto dentro do blockquotekjahd kjadhjaksd hkasjhdkjahd kjahdjkahd jashdkja hsdkjahsd kjah djahdkjahdkjahd jkahdkjsah jdhsadjha jsdh ajdh akjhd akjshakjhd kaj dhkjahd kajhd kjahsdkjhadsjkha dkjadk hakjdhjaksdajd asd lasd jhakjsdkjhkajshdkas kajsdh kjahdkas
<blockquote>
texto dentro do blockquotekjahd kjadhjaksd hkasjhdkjahd kjahdjkahd jashdkja hsdkjahsd kjah djahdkjahdkjahd jkahdkjsah jdhsadjha jsdh ajdh akjhd akjshakjhd kaj dhkjahd kajhd kjahsdkjhadsjkha dkjadk hakjdhjaksdajd asd lasd jhakjsdkjhkajshdkas kajsdh kjahdkas
</blockquote>
</blockquote>
<p><b>texto fora do blockquote</b></p>
<p>asdkjha dkjahdj hajkdh ajkdhkjahd jkahd kjhadjkah djkahdjkah djhjsad hakjdh kjahd kjasdkaka hdkjahdkjah dkahs:
<ul>
<li>bolinha bolinha hey</li>
<li>mão nao cinturinha hey</li>
</ul></p>
<p>kjahd ajhdkjahd kjahdkjad kjahdkajshkjahja kdhkjahdjakhd ajshjakhdkjadhla dhkajhakldh kajs hjkahd jkahd kja hdkajhd kajkahdjah djkhadjkha kjdh ad ajhd ajkhd kjah dkjahsdkjahdkjha kakdkajhdkjahkdhakdhkahd ajdhjka hdjka hdkhkdak hdkaa</p>';

$dompdf = new DOMPDF();
$dompdf->load_html($html);
$dompdf->render();
$dompdf->stream("sample.pdf");

?>

